package com.liy.cloud.base.service;

import com.liy.cloud.base.entity.BaseEquParamEntity;
import com.das.framework.common.service.IBaseService;
import com.das.framework.common.vo.PageVO;

import java.util.List;


public interface BaseEquParamService extends IBaseService<BaseEquParamEntity, String>{


    void deleteBatch(List<String> ids);

    /**
     * 查询设备参数按设备分组
     *
     * @return
     * @auther zhangw
     * @date 2018/11/02 9:11
     */
    List<String> selectEquIdGroup() throws Exception;


    /**
     *
     * 功能描述: 保存设备-种类参数关联关系
     *
     * @param: equParamList中所有元素的equId必须相同
     * @param equId 设备编号
     * @return:
     * @auther: zhangw
     * @date: 2018/6/29 18:51
     */
    void save(List<BaseEquParamEntity> equParamList, String equId) throws Exception;


    /**
     *
     * 点击树根据节点查询
     *
     * @param:
     * @return:
     * @auther: zhangw
     * @date: 2018/11/5 20:06
     */
    List<BaseEquParamEntity> selectByTreeNodePage(BaseEquParamEntity var1, PageVO<BaseEquParamEntity> var2);
}
